﻿<%@ Page Title="" Language="C#" MasterPageFile="~/cms/cms.master" AutoEventWireup="true" CodeFile="ManageParameter.aspx.cs" Inherits="cms_ParameterManage" %>
<asp:Content ID="Content2" ContentPlaceHolderID="PageTittle" Runat="Server">
    QUẢN  LÝ THAM SỐ
    <hr />
    <br /><br />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" Runat="Server">
    <div align="center">
        <div align="center">
            <h2>DANH SÁCH THAM SỐ.</h2>
            <br />
            <asp:DataGrid ID="dtgvDanhSachThamSo" runat="server" AutoGenerateColumns="false">
                <Columns>
                    <asp:BoundColumn DataField="MaThamSo" HeaderText="Mã tham số" HeaderStyle-Width="100px" HeaderStyle-Height="30" />
                    <asp:BoundColumn DataField="TenThamSo" HeaderText="Tên tham số" HeaderStyle-Width="100px" ItemStyle-Height="25" />
                    <asp:BoundColumn DataField="GiaTriThamSo" HeaderText="Giá trị tham số" HeaderStyle-Width="150px" />
                </Columns>
            </asp:DataGrid>
        </div>
        <br />
        <br />
    </div>
    <div align="center">
        <table>
            <tr>
                <h1 align="center">THAY ĐỔI THAM SỐ</h1>
            </tr>
            <br />

            <tr>
                <td>Mã tham số: </td>
                <td>                    
                    <asp:DropDownList ID="cmbMaThamSo" runat="server" Width="150px" />                 
                </td>
            </tr>

            <tr>
                <td>Tên tham số: </td>
                <td>                    
                    <asp:TextBox ID="txtTenThamSo" runat="server"></asp:TextBox>                    
                </td>
            </tr>

            <tr>
                <td>Giá trị tham số: </td>
                <td>
                    <asp:TextBox ID="txtGiaTriThamSo" runat="server" />
                </td>
            </tr>
            <tr>
                <td>&nbsp</td>
            </tr>

            <tr>
                <td align="center">
                    <asp:Button ID="btnCapNhat" runat="server" Text="Cập nhật tham số." 
                        onclick="btnCapNhat_Click"/>
                </td>

                <td align="center">
                    <asp:HyperLink ID="link" runat="server" NavigateUrl="~/Login.aspx">Hủy</asp:HyperLink>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>